﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Nanohope_v1._0
{
    public class Ground : Objects
    {
        public Ground(Vector2 position, Vector2 size)
        {
            Texture = Game1.blackSquare;
            Position = position;
            Area = new Rectangle((int)Position.X, (int)Position.Y, (int)size.X, (int)size.Y);
        }

        public override void onDraw(SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(Texture, Area, Color.White);
        }
    }
}
